-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing metadata #11
Fixing metadata #11
Conversation
test-action: | ||
name: GitHub Actions Test | ||
runs-on: ubuntu-latest | ||
# test-action: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how to integration test the action without real endpoints.
name: 'The name of your action here' | ||
description: 'Provide a description here' | ||
author: 'Your name or organization here' | ||
name: 'dependabot-tickets' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't even notice this file before.
and return just the data not a circular response object.
@@ -29,15 +29,15 @@ class PlanviewClient { | |||
} | |||
|
|||
#parseResponse(result) { | |||
if (result.status === 200 && !!result.data.id) { | |||
if (result.status === 201 && !!result.data.id) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was causing it to return the else condition to the Action runner so it was falling even though the ticket was created.
return { | ||
success: true, | ||
data: result.data | ||
} | ||
} else { | ||
return { | ||
success: false, | ||
result | ||
data: result.data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think result was causing an error because the Axios response is circular.
No description provided.